package com.woniuxy.credit_loans.mapper;

import com.woniuxy.credit_loans.entity.Repayment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author donghang
* @description 针对表【repayment(repayment)】的数据库操作Mapper
* @createDate 2022-12-06 12:05:35
* @Entity com.woniuxy.credit_loans.entity.Repayment
*/
public interface RepaymentMapper {
    List<Repayment> selectAll(@Param("by") String by, @Param("name") String name);
    Repayment selectById(Long id);

    int deleteByPrimaryKey(Long id);

    int insert(Repayment record);

    int insertSelective(Repayment record);

    Repayment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Repayment record);

    int updateByPrimaryKey(Repayment record);

}
